package com.cjl.generic;

import com.cjl.generic.test.Remove;

import java.util.ArrayList;
import java.util.List;

public class GenericClass<T> {
    private T t;
//    private static T ps; error

    public T getT() {
        return t;
    }

    public void setT(T t) {
        this.t = t;
    }

//ERROR
//    public static <E> void a(List<E> list){
//        if (list instanceof ArrayList<Integer>){
//
//        }
//    }
}


//exception throwable error
//class C<T> extends Exception{
//
//}

class CC<T> extends Remove{

}
